package com.xszx.mapper;

import com.xszx.entity.RoleMenu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 34129
* @description 针对表【role_menu】的数据库操作Mapper
* @createDate 2024-01-08 20:40:47
* @Entity com.xszx.entity.RoleMenu
*/
@Mapper
public interface RoleMenuMapper extends BaseMapper<RoleMenu> {
    List<RoleMenu> selectRoleMenu(Long rid);

    int deleteRoleMenu(long mid);


    int insertRoleMenu(@Param("rid") long rid, @Param("mid") long mid);


    void deleteByRid(long rid);
}




